﻿using System;
namespace Gmis.Model
{
    /// <summary>
    /// ArtelSell:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class ArtelSell
    {
        public ArtelSell()
        {
            dReg = dSell = DateTime.Now;
        }
        #region Model
        private string _sid;
        private string _sartelid;
        private string _snumber = "";
        private DateTime _dreg;
        private string _scontact = "";
        private string _stype = "";
        private string _sproduct = "";
        private string _sspec = "";
        private decimal _ncount;
        private string _sunit = "";
        private decimal _nprice;
        private decimal _ntotal;
        private DateTime _dsell;
        private string _sbuyer;
        /// <summary>
        /// 
        /// </summary>
        public string sId
        {
            set { _sid = value; }
            get { return _sid; }
        }
        /// <summary>
        /// 外键，合作社主键
        /// </summary>
        public string sArtelId
        {
            set { _sartelid = value; }
            get { return _sartelid; }
        }
        /// <summary>
        /// 预售单号
        /// </summary>
        public string sNumber
        {
            set { _snumber = value; }
            get { return _snumber; }
        }
        /// <summary>
        /// 登记时间
        /// </summary>
        public DateTime dReg
        {
            set { _dreg = value; }
            get { return _dreg; }
        }
        /// <summary>
        /// 联系人
        /// </summary>
        public string sContact
        {
            set { _scontact = value; }
            get { return _scontact; }
        }
        /// <summary>
        /// 预售种类
        /// </summary>
        public string sType
        {
            set { _stype = value; }
            get { return _stype; }
        }
        /// <summary>
        /// 预售产品
        /// </summary>
        public string sProduct
        {
            set { _sproduct = value; }
            get { return _sproduct; }
        }
        /// <summary>
        /// 产品规格
        /// </summary>
        public string sSpec
        {
            set { _sspec = value; }
            get { return _sspec; }
        }
        /// <summary>
        /// 预售数量
        /// </summary>
        public decimal nCount
        {
            set { _ncount = value; }
            get { return _ncount; }
        }
        /// <summary>
        /// 计量单位
        /// </summary>
        public string sUnit
        {
            set { _sunit = value; }
            get { return _sunit; }
        }
        /// <summary>
        /// 预售价
        /// </summary>
        public decimal nPrice
        {
            set { _nprice = value; }
            get { return _nprice; }
        }
        /// <summary>
        /// 预售额
        /// </summary>
        public decimal nTotal
        {
            set { _ntotal = value; }
            get { return _ntotal; }
        }
        /// <summary>
        /// 预售时间
        /// </summary>
        public DateTime dSell
        {
            set { _dsell = value; }
            get { return _dsell; }
        }
        /// <summary>
        /// 购货商
        /// </summary>
        public string sBuyer
        {
            set { _sbuyer = value; }
            get { return _sbuyer; }
        }
        #endregion Model

    }
}

